<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .container{
            height: 100%;
        }
        .header{
            height: 100px;
            background-color: aqua;
        }
        .main{
            height: calc(100vh - 200px);
            background-color: burlywood;
            overflow: auto;
        }
        .footer{
            height: 100px;
            background-color: blue;
        }
    </style>
</head>
<body>
    <div class="container">
        <div class="header"></div>
        <div class="main"></div>
        <div class="footer"></div>
    </div>
</body>
</html>